//
//  SettingsViewController.h
//  CheckersGame
//
//  Created by Guest User on 11-12-02.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SettingsViewController : UIViewController <UITextFieldDelegate, UIGestureRecognizerDelegate, UINavigationControllerDelegate> {
    UIViewController* currentView;
    IBOutlet UISlider *timeoutSlider;
    IBOutlet UILabel *timeoutLabel;
    IBOutlet UISwipeGestureRecognizer *rightSwipe;
}

@property (retain) UIViewController* currentView;
@property (nonatomic,retain) IBOutlet UISegmentedControl *selectDifficulty1;
@property (nonatomic,retain) IBOutlet UISegmentedControl *selectDifficulty2;
@property (nonatomic,retain) IBOutlet UITextField *playerName1;
@property (nonatomic,retain) IBOutlet UITextField *playerName2;
@property (nonatomic,retain) IBOutlet UISwitch *aiSwitch1;
@property (nonatomic,retain) IBOutlet UISwitch *aiSwitch2;

// The Player pressed the new game button from the opening view
- (IBAction)didSelectDifficulty:(id)sender;
- (IBAction)didSelectAI:(id)sender;
- (IBAction)timeoutChanged:(UISlider *)sender;
- (IBAction)timeoutTouched:(id)sender;
- (IBAction)timeoutUpdated:(id)sender;
- (void)resizeViewForKeyBoard:(BOOL)showKeyboard withNotification:(NSNotification *)notification;
- (void)handleRightSwipe:(UIGestureRecognizer *)gestureRecognizer;
- (IBAction)hideKeyboard;

@end
